package com.efast.dmom.mgmt.service.master.impl;
import java.util.List;

import com.efast.dmom.mgmt.dao.master.TmBasPullUnitDao;
import com.efast.dmom.mgmt.entity.master.TmBasPullUnit;
import com.efast.dmom.mgmt.service.master.TmBasPullUnitService;
import com.efast.dmom.mgmt.utils.Assist;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
public class TmBasPullUnitServiceImpl implements TmBasPullUnitService{
    @Autowired
    private TmBasPullUnitDao tmBasPullUnitDao;
    @Override
    public long getTmBasPullUnitRowCount(Assist assist){
        return tmBasPullUnitDao.getTmBasPullUnitRowCount(assist);
    }
    @Override
    public List<TmBasPullUnit> selectTmBasPullUnit(Assist assist){
        return tmBasPullUnitDao.selectTmBasPullUnit(assist);
    }
    @Override
    public TmBasPullUnit selectTmBasPullUnitByObj(TmBasPullUnit obj){
        return tmBasPullUnitDao.selectTmBasPullUnitByObj(obj);
    }
    @Override
    public TmBasPullUnit selectTmBasPullUnitById(Integer id){
        return tmBasPullUnitDao.selectTmBasPullUnitById(id);
    }
    @Override
    public int insertTmBasPullUnit(TmBasPullUnit value){
        return tmBasPullUnitDao.insertTmBasPullUnit(value);
    }
    @Override
    public int insertNonEmptyTmBasPullUnit(TmBasPullUnit value){
        return tmBasPullUnitDao.insertNonEmptyTmBasPullUnit(value);
    }
    @Override
    public int insertTmBasPullUnitByBatch(List<TmBasPullUnit> value){
        return tmBasPullUnitDao.insertTmBasPullUnitByBatch(value);
    }
    @Override
    public int deleteTmBasPullUnitById(Integer id){
        return tmBasPullUnitDao.deleteTmBasPullUnitById(id);
    }
    @Override
    public int deleteTmBasPullUnit(Assist assist){
        return tmBasPullUnitDao.deleteTmBasPullUnit(assist);
    }
    @Override
    public int updateTmBasPullUnitById(TmBasPullUnit enti){
        return tmBasPullUnitDao.updateTmBasPullUnitById(enti);
    }
    @Override
    public int updateTmBasPullUnit(TmBasPullUnit value, Assist assist){
        return tmBasPullUnitDao.updateTmBasPullUnit(value,assist);
    }
    @Override
    public int updateNonEmptyTmBasPullUnitById(TmBasPullUnit enti){
        return tmBasPullUnitDao.updateNonEmptyTmBasPullUnitById(enti);
    }
    @Override
    public int updateNonEmptyTmBasPullUnit(TmBasPullUnit value, Assist assist){
        return tmBasPullUnitDao.updateNonEmptyTmBasPullUnit(value,assist);
    }

    public TmBasPullUnitDao getTmBasPullUnitDao() {
        return this.tmBasPullUnitDao;
    }

    public void setTmBasPullUnitDao(TmBasPullUnitDao tmBasPullUnitDao) {
        this.tmBasPullUnitDao = tmBasPullUnitDao;
    }

}